import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "@/style/index.less";
import "@/style/config.less";

import axios from "@/axios";
Vue.prototype.$axios = axios;

import * as apiConfig from "@/apiConfig.js";
Vue.prototype.$apiConfig = apiConfig;

// 项目配置
import { project } from "./projectConfig";
window.document.title = project.title;

// 自定组件
import "@/components";

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
